package com.qf.myblogssm.dao;

import com.qf.myblogssm.pojo.Tuser;

import java.util.List;

public interface TuserMapper {
    int deleteByPrimaryKey(Integer userId);

    int insert(Tuser record);

    Tuser selectByPrimaryKey(Integer userId);

    List<Tuser> selectAll();

    int updateByPrimaryKey(Tuser record);

    Tuser selectByPrimaryName(String name);

    Tuser selectByUsername(String name);


    // Tuser selectByUsername(@Param(value="username") String name,@Param(value = "password") String passwprd) ;

}